package com.showgood.config {
	import com.showgood.exceptions.ForbidException;
	
	/**
	 * 配置信息
	 * @author bianpeng
	 */
	public class Config {
		
		public function Config() {
			throw new ForbidException();
		}
		
		public static const VERSION:String = CONFIG::version;
		
		public static const SOCKET_SERVER:String = 'sg3.showgood.com';
		// game server server
		public static const SOCKET_PORT:int = 8669;
		// flash security policy
		public static const POLICY_PORT:int = 8667;
		//public static const POLICY_PORT:int = 843;
		
		public static const HTTP_PORT:int = 8668;
		public static const HTTP_SERVER:String = 'http://sg3.showgood.com:' + HTTP_PORT;
		
		public static const SCREEN_WIDTH:int = 800;
		public static const SCREEN_HEIGHT:int = 600;
		
		// 格子的单位大小
		public static const MAP_STEP:int = 40;
		
		// 条件编译一下
		CONFIG::debug {
			public static const RESOURCE_BASE:String = 'resource';
		}
		CONFIG::release {
			public static const RESOURCE_BASE:String = HTTP_SERVER + '/resource';
		}
	}

}


